package com.es.designmode.abstractfactory;

/**
 * @author Will
 */
public class SqlServerDepartment implements IDepartment {

    @Override
    public void insert(Department department) {
        System.out.println("SqlServer中给Department表增加一条记录");
    }

    @Override
    public Department getDepartment(String id) {

        System.out.println("SqlServer中获取id为" + id + "的一条记录");
        return null;
    }
}
